/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.invoice.invoice.service.dto;

import com.jeeplus.invoice.merchant.service.dto.YxfpMerchantDTO;
import com.jeeplus.invoice.customer.service.dto.YxfpCustomerDTO;
import com.jeeplus.core.query.Query;
import com.jeeplus.core.query.QueryType;
import com.jeeplus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 *  发票管理DTO
 * @author 张如利
 * @version 2022-02-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class YxfpInvoiceDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	/**
     * 所属商家
     */
    @Query(tableColumn = "a.merchant_id", javaField = "merchant.id", type = QueryType.EQ)
	private YxfpMerchantDTO merchant;
	/**
     * 所属客户
     */
    @Query(tableColumn = "a.customer_id", javaField = "customer.id", type = QueryType.EQ)
	private YxfpCustomerDTO customer;
	/**
     * 开票名称
     */
    @Query(tableColumn = "a.invoice_name", javaField = "invoiceName", type = QueryType.LIKE)
	private String invoiceName;
	/**
     * 发票税号
     */
	private String taxNo;
	/**
     * 企业地址
     */
	private String address;
	/**
     * 企业电话
     */
    @Query(tableColumn = "a.phone", javaField = "phone", type = QueryType.EQ)
	private String phone;
	/**
     * 开户银行
     */
	private String bankNm;
	/**
     * 开户账号
     */
	private String bankAccNo;
	/**
     * 发票内容
     */
	private String content;
	/**
     * 开票金额
     */
	private String txnAmt;
	/**
     * 邮箱地址
     */
	private String email;
	/**
     * 发票状态
     */
	private String state;
	/**
     * 备注
     */
	private String memo;

}
